<?PHP
if(isset($_SESSION["CMS_User"]) && $_SESSION["CMS_User"]!=""){
	$daten=$_SESSION["CMS_User"];
	echo "Username : ".$daten["Username"];?>
<a class="BootenLink"
	href="<?PHP echo("index.php?tag=$tagID&singout=1"); ?>">&nbsp;<?php LangText("Singout");?>&nbsp;</a>
	<?PHP
}else{
	?>
<table>
	<tr>
		<td><?php LangText("User:"); ?></td>
		<td><input id="username" name="username"></td>
	</tr>
	<tr>
		<td><?php LangText("Pass:");?></td>
		<td><input id="password" type="password" size="20" width=100%
			name="password"></td>
	</tr>
	<tr>
		<td></td>
		<td><input class="BootenLink" type="submit"
			value="<?php LangText("Login");?>"></td>
	</tr>
	<tr>
		<td colspan="2"><a
			href="<?PHP echo("index.php?tag=$tagID&page=UsersRegister&MoudeTagID=$MoudeTagID"); ?>">&nbsp;<?php LangText("Create an account now");?>&nbsp;</a>
		</td>
	</tr>
</table>
	<?PHP } ?>
